package x.ovo.wechat.bot.common.entity.message;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 分享链接消息
 *
 * @author ovo on 2024/05/20.
 * @since 1.0.0
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SharedMessage extends Message{

    private String title;
    private String description;
    private String url;

    @Override
    public String getContent() {
        return String.format("%s(%s) %s", this.title, this.description, this.url);
    }
}
